From: Dmitry Gutov Date: Sat, 14 Nov 2015 01:03:58 +0000 (+0200) Subject: ; Fix warnings X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~21^2~3982 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=138ad3d;p=emacs.git ; Fix warnings * lisp/vc/diff-mode.el (diff-kill-applied-hunks): Fix unused variable warnings. --- diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index 464e3754eb9..f4d7fe7d9aa 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -1821,7 +1821,7 @@ With a prefix argument, try to REVERSE the hunk." "Kill all hunks that have already been applied starting at point." (interactive) (while (not (eobp)) - (pcase-let ((`(,buf ,line-offset ,pos ,src ,_dst ,switched) + (pcase-let ((`(,_buf ,line-offset ,_pos ,_src ,_dst ,switched) (diff-find-source-location nil nil))) (if (and line-offset switched) (diff-hunk-kill)